﻿namespace LogicStudio.Framework.ServicioAutenticacion
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;
    using System.ServiceModel.DomainServices.Server.ApplicationServices;

    [EnableClientAccess]
    public class Autenticacion : AuthenticationBase<User>
    {
        protected override bool ValidateUser(string userName, string password)
        {
            return true;
        }
    }

    public class User : UserBase
    {
        public string Usuario { get; set; }
    }
}